package com.li.designpattern.command;

public class Test {
	public static void main(String[] args) {
		Receiver receiver=new Receiver();
		Invoker invoker=new Invoker();
		Command command=new ConcreteCommand1(receiver);
		
		invoker.setCommand(command);
		invoker.execute();
	}
}
